Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            CompanyMas frm = new CompanyMas(companyid);

            //frm.MdiParent = this.MdiParent;
            //frm.Dock = DockStyle.Fill;
            //frm.StartPosition = FormStartPosition.CenterParent;
            frm.Show();
        }
Beispiel #2
0
 private void button10_Click(object sender, EventArgs e)
 {
     if (lblid.Text == "0")
     {
         MessageBox.Show("Select any Company", "Select", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     else
     {
         CompanyMas frmcompany = new CompanyMas(lblid.Text);
         frmcompany.Show();
     }
 }
Beispiel #3
0
        private void xButton2_Click(object sender, EventArgs e)
        {
            CompanyMas frmcompany = new CompanyMas("");

            frmcompany.Show();
        }