ща буду ломать
This commit is contained in:
parent
b56ba80fad
commit
21fc0e3e1d
@ -97,6 +97,7 @@ namespace Controls
|
|||||||
int cellsCount = table.Rows[1].Cells.Count;
|
int cellsCount = table.Rows[1].Cells.Count;
|
||||||
|
|
||||||
//Объединение ячеек в столбце
|
//Объединение ячеек в столбце
|
||||||
|
|
||||||
if (MergeColls.Count != 0)
|
if (MergeColls.Count != 0)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < cellsCount; i++)
|
for (int i = 0; i < cellsCount; i++)
|
||||||
@ -110,7 +111,7 @@ namespace Controls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Вывод данных
|
//Вывод данных в таблицу в файл
|
||||||
|
|
||||||
int rowData = 2;
|
int rowData = 2;
|
||||||
|
|
||||||
|
BIN
Cop_25/Controls/docs/cat2.jpg
Normal file
BIN
Cop_25/Controls/docs/cat2.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
Binary file not shown.
Binary file not shown.
5
Cop_25/Forms/FormMain.Designer.cs
generated
5
Cop_25/Forms/FormMain.Designer.cs
generated
@ -82,18 +82,19 @@
|
|||||||
pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;
|
pictureBox1.BackgroundImageLayout = ImageLayout.Stretch;
|
||||||
pictureBox1.Location = new Point(359, 21);
|
pictureBox1.Location = new Point(359, 21);
|
||||||
pictureBox1.Name = "pictureBox1";
|
pictureBox1.Name = "pictureBox1";
|
||||||
pictureBox1.Size = new Size(364, 304);
|
pictureBox1.Size = new Size(364, 348);
|
||||||
pictureBox1.TabIndex = 12;
|
pictureBox1.TabIndex = 12;
|
||||||
pictureBox1.TabStop = false;
|
pictureBox1.TabStop = false;
|
||||||
//
|
//
|
||||||
// textBox1
|
// textBox1
|
||||||
//
|
//
|
||||||
textBox1.Location = new Point(372, 33);
|
textBox1.Location = new Point(371, 314);
|
||||||
textBox1.Name = "textBox1";
|
textBox1.Name = "textBox1";
|
||||||
textBox1.Size = new Size(336, 27);
|
textBox1.Size = new Size(336, 27);
|
||||||
textBox1.TabIndex = 13;
|
textBox1.TabIndex = 13;
|
||||||
textBox1.Text = "НАЖМИТЕ НА КНОПКУ ЧТОБЫ СОЗДАТЬ";
|
textBox1.Text = "НАЖМИТЕ НА КНОПКУ ЧТОБЫ СОЗДАТЬ";
|
||||||
textBox1.TextAlign = HorizontalAlignment.Center;
|
textBox1.TextAlign = HorizontalAlignment.Center;
|
||||||
|
textBox1.TextChanged += textBox1_TextChanged;
|
||||||
//
|
//
|
||||||
// FormMain
|
// FormMain
|
||||||
//
|
//
|
||||||
|
@ -24,7 +24,7 @@ namespace Forms
|
|||||||
|
|
||||||
private void buttonLargeText_CLick(object sender, EventArgs e)
|
private void buttonLargeText_CLick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string[] strings = new string[] { "aboba", "not aboba" , "best aboba"};
|
string[] strings = new string[] { "aboba", "not aboba", "best aboba" };
|
||||||
LargeTextComponent largeText = new LargeTextComponent();
|
LargeTextComponent largeText = new LargeTextComponent();
|
||||||
largeText.CreateDocument("C:\\Ulstu\\COP\\Cop_25\\Controls\\docs\\text.pdf", "OMEGA LABA 2", strings);
|
largeText.CreateDocument("C:\\Ulstu\\COP\\Cop_25\\Controls\\docs\\text.pdf", "OMEGA LABA 2", strings);
|
||||||
}
|
}
|
||||||
@ -35,12 +35,12 @@ namespace Forms
|
|||||||
{
|
{
|
||||||
new ColumnInfo("FirstName","Имя",50),
|
new ColumnInfo("FirstName","Имя",50),
|
||||||
new ColumnInfo("LastName","Фамилия",100),
|
new ColumnInfo("LastName","Фамилия",100),
|
||||||
new ColumnInfo("Age","Возраст",200),
|
new ColumnInfo("Age","Возраст",75),
|
||||||
};
|
};
|
||||||
|
|
||||||
List<MergeCells> mergeCells = new List<MergeCells>()
|
List<MergeCells> mergeCells = new List<MergeCells>()
|
||||||
{
|
{
|
||||||
new MergeCells("Данные", new int[] {0,2,2})
|
new MergeCells("Данные", new int[] {0,1,3})
|
||||||
};
|
};
|
||||||
|
|
||||||
List<Person> people = new List<Person>()
|
List<Person> people = new List<Person>()
|
||||||
@ -56,11 +56,16 @@ namespace Forms
|
|||||||
private void buttonDiagram_Click(object sender, EventArgs e)
|
private void buttonDiagram_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Dictionary<string, List<Double>> data = new Dictionary<string, List<Double>>();
|
Dictionary<string, List<Double>> data = new Dictionary<string, List<Double>>();
|
||||||
data.Add("Знач1", new List<double> { 0.5, 1, 2, 5, 2 });
|
data.Add("aboba1", new List<double> { 12, 1, 2, 5, 2 });
|
||||||
data.Add("Знач2", new List<double> { 3, 2, 1, 3, 6 });
|
data.Add("aboba2", new List<double> { 3, 2, 1, 3, 6 });
|
||||||
data.Add("Знач3", new List<double> { 7, 3, 1, 2, 5 });
|
data.Add("aboba3", new List<double> { 7, 3, 1, 2, 5 });
|
||||||
|
|
||||||
diagramComponent1.CreateLineDiagram("C:\\Ulstu\\COP\\Cop_25\\Controls\\docs\\diagram.pdf", "Заголовок", "Линейная диаграмма", data, LegendAlign.bottom);
|
diagramComponent1.CreateLineDiagram("C:\\Ulstu\\COP\\Cop_25\\Controls\\docs\\diagram.pdf", "Заголовок", "Линейная диаграмма", data, LegendAlign.bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void textBox1_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user