コード例 #1
0
        private void changePropertiesToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            Form10 f10 = new Form10();

            f10.Tag               = this.Tag.ToString();
            f10.label19.Visible   = true;
            f10.comboBox1.Visible = true;
            f10.button3.Visible   = true;
            f10.ShowDialog();
        }
コード例 #2
0
        private void addShopToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form10 f10 = new Form10();

            f10.Tag               = this.Tag.ToString();
            f10.label19.Visible   = false;
            f10.comboBox1.Visible = false;
            f10.button3.Visible   = false;
            f10.ShowDialog();
        }
コード例 #3
0
        private void search_Click(object sender, EventArgs e)
        {
            Form10 form10 = new Form10(activeWorker);

            form10.ShowDialog();
        }
コード例 #4
0
ファイル: Form1_.cs プロジェクト: corpse56/CirculationACC
 private void button18_Click(object sender, EventArgs e)
 {
     Conn.SQLDA.SelectCommand.CommandText = "select IDOldAbonement from Readers..Main where NumberReader = "+ ReaderRecord.id;
     DataSet DS = new DataSet();
     Conn.SQLDA.Fill(DS, "iswas");
     if (!(bool)DS.Tables["iswas"].Rows[0][0])
     {
         Form10 f10 = new Form10(ReaderRecord);
         f10.ShowDialog();
     }
 }
コード例 #5
0
ファイル: Form1_.cs プロジェクト: corpse56/CirculationACC
 public bool OldBase(DBWork.dbReader rdr)
 {
     Conn.SQLDA.SelectCommand.CommandText = "select IDOldAbonement from Readers..Main where NumberReader = " + rdr.id;
     DataSet DS = new DataSet();
     Conn.SQLDA.Fill(DS, "iswas");
     bool d = (bool)DS.Tables["iswas"].Rows[0][0];
     if (!d)
     {
         Form10 f10 = new Form10(rdr);
         if (f10.canShow)
         {
             f10.ShowDialog();
             button4_Click(button4, new EventArgs());
         }
         else
         {
             button4_Click(button4, new EventArgs());
         }
         return true;
     }
     else
     {
         return false;
     }
 }