Exemplo n.º 1
0
 private void tSSL_User_Click(object sender, EventArgs e)
 {
     try
     {
         idocEmployee emp = new idocEmployee(Program.UserContext.Key, Client);
         emp.Show();
     }
     catch { }
 }
Exemplo n.º 2
0
 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();
     }
 }
Exemplo n.º 3
0
        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;
            }
        }