Ejemplo n.º 1
0
 void LvInvoicesDoubleClick(object sender, EventArgs e)
 {
     if(lvInvoices.SelectedIndices.Count>0)
     {
         DevicesForm dfForm = new DevicesForm(invoices[lvInvoices.SelectedIndices[0]].ID,true);
         dfForm.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 void BtnDevicesClick(object sender, EventArgs e)
 {
     if(btnDevices.Text == "Devices")
     {
         DevicesForm dfForm = new DevicesForm(invoices[lvInvoices.SelectedIndices[0]].ID,true);
         dfForm.Enabled = true;
         dfForm.ShowDialog();
     }
     else
     {
         btnDevices.Text = "Devices";
         btnEdit.Text = "Edit";
         Enabler(false);
     }
 }
Ejemplo n.º 3
0
 void BtnDevicesClick(object sender, EventArgs e)
 {
     DevicesForm dfForm = new DevicesForm(TheClient.ID,false);
     dfForm.Enabled = true;
     dfForm.ShowDialog();
 }