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

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> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="WinFormsLibrary" Version="1.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -42,6 +42,7 @@
componentDocumentWithChartPieWord = new ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartPieWord(components); componentDocumentWithChartPieWord = new ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartPieWord(components);
componentDocumentWithChartBarWord = new ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartBarWord(components); componentDocumentWithChartBarWord = new ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartBarWord(components);
pdfGeneratorControl = new PdfFormsLibrary.PdfGeneratorControl(components); pdfGeneratorControl = new PdfFormsLibrary.PdfGeneratorControl(components);
circleDiagram = new WinFormsLibrary.CircleDiagram(components);
contextMenuStrip.SuspendLayout(); contextMenuStrip.SuspendLayout();
SuspendLayout(); SuspendLayout();
// //
@ -141,5 +142,6 @@
private ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartBarWord componentDocumentWithChartBarWord; private ComponentsLibraryNet60.DocumentWithChart.ComponentDocumentWithChartBarWord componentDocumentWithChartBarWord;
private ToolStripMenuItem открытьСправочникToolStripMenuItem; private ToolStripMenuItem открытьСправочникToolStripMenuItem;
private PdfFormsLibrary.PdfGeneratorControl pdfGeneratorControl; 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"> <metadata name="pdfGeneratorControl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>291, 54</value> <value>291, 54</value>
</metadata> </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> </root>

View File

@ -29,43 +29,29 @@
private void InitializeComponent() private void InitializeComponent()
{ {
listBox = new ListBox(); listBox = new ListBox();
componentTitleLabel = new Label();
SuspendLayout(); SuspendLayout();
// //
// listBox // listBox
// //
listBox.FormattingEnabled = true; listBox.FormattingEnabled = true;
listBox.ItemHeight = 15; listBox.ItemHeight = 15;
listBox.Location = new Point(12, 39); listBox.Location = new Point(3, 3);
listBox.Name = "listBox"; listBox.Name = "listBox";
listBox.Size = new Size(172, 154); listBox.Size = new Size(194, 154);
listBox.TabIndex = 0; 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 // ListBoxValues
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
Controls.Add(componentTitleLabel);
Controls.Add(listBox); Controls.Add(listBox);
Name = "ListBoxValues"; Name = "ListBoxValues";
Size = new Size(200, 206); Size = new Size(200, 160);
ResumeLayout(false); ResumeLayout(false);
PerformLayout();
} }
#endregion #endregion
private ListBox listBox; private ListBox listBox;
private Label componentTitleLabel;
} }
} }

View File

@ -28,25 +28,15 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
componentTitleLabel = new Label();
textBox = new TextBox(); textBox = new TextBox();
SuspendLayout(); 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
// //
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.Name = "textBox";
textBox.Size = new Size(234, 23); textBox.Size = new Size(254, 23);
textBox.TabIndex = 2; textBox.TabIndex = 2;
textBox.TextChanged += TextBox_TextChanged; textBox.TextChanged += TextBox_TextChanged;
textBox.Enter += TextBox_Enter; textBox.Enter += TextBox_Enter;
@ -56,9 +46,8 @@
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
Controls.Add(textBox); Controls.Add(textBox);
Controls.Add(componentTitleLabel);
Name = "NumberTextBox"; Name = "NumberTextBox";
Size = new Size(260, 80); Size = new Size(260, 29);
ResumeLayout(false); ResumeLayout(false);
PerformLayout(); PerformLayout();
} }
@ -66,7 +55,6 @@
#endregion #endregion
private TextBox numberTextBox; private TextBox numberTextBox;
private Label componentTitleLabel;
private TextBox textBox; private TextBox textBox;
} }
} }

View File

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