Добавил нагетс Артёма еееееее

This commit is contained in:
maxnes3 2023-11-02 08:06:06 +04:00
parent f030f99ec3
commit 9e96681e74
6 changed files with 14 additions and 33 deletions

View File

@ -15,6 +15,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="WinFormsLibrary" Version="1.0.0" />
</ItemGroup>
<ItemGroup>

View File

@ -42,6 +42,7 @@
componentDocumentWithChartPieWord = new ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartPieWord(components);
componentDocumentWithChartBarWord = new ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartBarWord(components);
pdfGeneratorControl = new PdfFormsLibrary.PdfGeneratorControl(components);
circleDiagram = new WinFormsLibrary.CircleDiagram(components);
contextMenuStrip.SuspendLayout();
SuspendLayout();
//
@ -141,5 +142,6 @@
private ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartBarWord componentDocumentWithChartBarWord;
private ToolStripMenuItem открытьСправочникToolStripMenuItem;
private PdfFormsLibrary.PdfGeneratorControl pdfGeneratorControl;
private WinFormsLibrary.CircleDiagram circleDiagram;
}
}

View File

@ -72,4 +72,7 @@
<metadata name="pdfGeneratorControl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>291, 54</value>
</metadata>
<metadata name="circleDiagram.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>456, 54</value>
</metadata>
</root>

View File

@ -29,43 +29,29 @@
private void InitializeComponent()
{
listBox = new ListBox();
componentTitleLabel = new Label();
SuspendLayout();
//
// listBox
//
listBox.FormattingEnabled = true;
listBox.ItemHeight = 15;
listBox.Location = new Point(12, 39);
listBox.Location = new Point(3, 3);
listBox.Name = "listBox";
listBox.Size = new Size(172, 154);
listBox.Size = new Size(194, 154);
listBox.TabIndex = 0;
//
// componentTitleLabel
//
componentTitleLabel.AutoSize = true;
componentTitleLabel.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
componentTitleLabel.Location = new Point(12, 12);
componentTitleLabel.Name = "componentTitleLabel";
componentTitleLabel.Size = new Size(108, 15);
componentTitleLabel.TabIndex = 1;
componentTitleLabel.Text = "Список занчений";
//
// ListBoxValues
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
Controls.Add(componentTitleLabel);
Controls.Add(listBox);
Name = "ListBoxValues";
Size = new Size(200, 206);
Size = new Size(200, 160);
ResumeLayout(false);
PerformLayout();
}
#endregion
private ListBox listBox;
private Label componentTitleLabel;
}
}

View File

@ -28,25 +28,15 @@
/// </summary>
private void InitializeComponent()
{
componentTitleLabel = new Label();
textBox = new TextBox();
SuspendLayout();
//
// componentTitleLabel
//
componentTitleLabel.AutoSize = true;
componentTitleLabel.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point);
componentTitleLabel.Location = new Point(13, 12);
componentTitleLabel.Name = "componentTitleLabel";
componentTitleLabel.Size = new Size(154, 15);
componentTitleLabel.TabIndex = 1;
componentTitleLabel.Text = "Введите номер телефона";
//
// textBox
//
textBox.Location = new Point(13, 41);
textBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
textBox.Location = new Point(3, 3);
textBox.Name = "textBox";
textBox.Size = new Size(234, 23);
textBox.Size = new Size(254, 23);
textBox.TabIndex = 2;
textBox.TextChanged += TextBox_TextChanged;
textBox.Enter += TextBox_Enter;
@ -56,9 +46,8 @@
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
Controls.Add(textBox);
Controls.Add(componentTitleLabel);
Name = "NumberTextBox";
Size = new Size(260, 80);
Size = new Size(260, 29);
ResumeLayout(false);
PerformLayout();
}
@ -66,7 +55,6 @@
#endregion
private TextBox numberTextBox;
private Label componentTitleLabel;
private TextBox textBox;
}
}

View File

@ -5,6 +5,7 @@
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>