示例#1
0
文件: MainForm.cs 项目: Victor-UA/ASF
 private void tSSL_User_Click(object sender, EventArgs e)
 {
     try
     {
         idocEmployee emp = new idocEmployee(Program.UserContext.Key, Client);
         emp.Show();
     }
     catch { }
 }
示例#2
0
文件: MainForm.cs 项目: Victor-UA/ASF
 public override void OnDoubleClick(SourceGrid.CellContext sender, EventArgs e)
 {
     if (sender.Position.Row > 0)
     {
         SourceGridUtilities.RowTag rt = (SourceGridUtilities.RowTag)Grid.Rows[sender.Position.Row].Tag;
         idocEmployee Customer         = new idocEmployee(rt.Key.ToString(), Client);
         Customer.Show();
     }
 }
示例#3
0
文件: MainForm.cs 项目: Victor-UA/ASF
        private void toolStripButton_New_Click(object sender, EventArgs e)
        {
            switch (tabList1.SelectedPage.Text)
            {
            case "Замовлення":
                idocWindowOrder Order = new idocWindowOrder(Client);
                Order.Show();
                break;

            case "Клієнти":
                idocCustomer Customer = new idocCustomer(Client);
                Customer.Show();
                break;

            case "Співробітники":
                idocEmployee Employee = new idocEmployee(Client);
                Employee.Show();
                break;
            }
        }