Beispiel #1
0
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            NowId = 0;
            if (Convert.ToInt32(comboBox1.SelectedIndex.ToString()) > 0)
            {
                NowId = Convert.ToInt32(comboBox1.SelectedValue.ToString());

                InfoControls.Select(InfoControls.TableId + "=" + NowId);
                InfoControls.SetColVar(DatabaseControls._Table);


                Title.Text   = InfoControls.ShowColVar["Title"];
                Contect.Text = InfoControls.ShowColVar["Contect"];
            }
            else
            {
                WindowsControls.ClearControls(this);
            }
        }
Beispiel #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     WindowsControls.ClearControls(this);
 }