Example #1
0
        void texbox(TextBox tx, string text)
        {
            FormIzm iz = new FormIzm();

            tx.Top    = 5;
            tx.Left   = 5;
            tx.Width  = 50;
            tx.Height = 20;
            tx.Text   = text;
            tx.Font   = new Font("Times New Roman", 10, FontStyle.Regular);
            panel1.Controls.Add(tx);
        }
Example #2
0
 private void button19_Click(object sender, EventArgs e)
 {
     if (dataGridViewpost.SelectedCells.Count == 0)
     {
         return;
     }
     {
         Gl.ID    = dataGridViewpost.CurrentRow.Cells[0].Value.ToString();
         Gl.tbizm = 2;
         FormIzm izm = new FormIzm();
         izm.ShowDialog();
         UpdateStatus();
     }
 }
Example #3
0
 private void button20_Click(object sender, EventArgs e)
 {
     if (dataGridViewPrise.SelectedCells.Count == 0)
     {
         return;
     }
     {
         Gl.ID     = dataGridViewPrise.CurrentRow.Cells[0].Value.ToString();
         Gl.poch   = dataGridViewPrise.CurrentRow.Cells[1].Value.ToString();
         Gl.post   = dataGridViewPrise.CurrentRow.Cells[2].Value.ToString();
         Gl.status = dataGridViewPrise.CurrentRow.Cells[3].Value.ToString();
         Gl.summ   = dataGridViewPrise.CurrentRow.Cells[4].Value.ToString();
         Gl.ID2    = dataGridViewPrise.CurrentRow.Cells[4].Value.ToString();
         Gl.tbizm  = 3;
         FormIzm izm = new FormIzm();
         izm.ShowDialog();
         UpdateStatus();
     }
 }