public GuncelleOperasyon(Operasyon_Ekle o1)
        {
            InitializeComponent();

            dateTimePicker1.Format       = DateTimePickerFormat.Custom;
            dateTimePicker1.CustomFormat = "dd MM yyyy";

            textBox2.Text         = o1.dataGridView1.CurrentRow.Cells[0].Value.ToString();
            comboBox1.Text        = o1.dataGridView1.CurrentRow.Cells[1].Value.ToString();
            comboBox2.Text        = o1.dataGridView1.CurrentRow.Cells[2].Value.ToString();
            dateTimePicker1.Value = Convert.ToDateTime(o1.dataGridView1.CurrentRow.Cells[3].Value.ToString());

            o2 = o1;/*o2 yi listelemek icin*/
        }
Exemple #2
0
        private void toolStripButton8_Click_1(object sender, EventArgs e)
        {
            Operasyon_Ekle o1 = new Operasyon_Ekle();

            o1.ShowDialog();
        }