コード例 #1
0
 private void btnadmin_Click(object sender, EventArgs e)
 {
     if (rbedition.Checked)
     {
         this.Visible = false;
         editionf f = new editionf();
         f.ShowDialog();
         this.Close();
     }
     else if (rbcheck.Checked)
     {
         this.Visible = false;
         purchasef g = new purchasef();
         g.ShowDialog();
         this.Close();
     }
     else if (rbchangecat.Checked)
     {
         this.Visible = false;
         changecat t = new changecat();
         t.ShowDialog();
         this.Close();
     }
     else
     {
         MessageBox.Show("Please select one!");
     }
 }
コード例 #2
0
        private void btntoyeditback_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            editionf a = new editionf();

            a.ShowDialog();
            this.Close();
        }