Пример #1
0
        public GuncelleMuayene(MuayeneEkle o1)
        {
            InitializeComponent();

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

            dateTimePicker1.Value = Convert.ToDateTime(o1.dataGridView2.CurrentRow.Cells[0].Value.ToString());
            comboBox1.Text        = o1.dataGridView2.CurrentRow.Cells[1].Value.ToString();
            comboBox2.Text        = o1.dataGridView2.CurrentRow.Cells[2].Value.ToString();
            comboBox3.Text        = o1.dataGridView2.CurrentRow.Cells[3].Value.ToString();
            textBox1.Text         = o1.dataGridView2.CurrentRow.Cells[4].Value.ToString();
            textBox2.Text         = o1.dataGridView2.CurrentRow.Cells[5].Value.ToString();

            o2 = o1;
        }
Пример #2
0
        private void toolStripButton7_Click_1(object sender, EventArgs e)
        {
            MuayeneEkle m1 = new MuayeneEkle();

            m1.ShowDialog();
        }