public EditClientWindow(Client client = null)
 {
     InitializeComponent();
     this.client = client;
     clients     = new List <Client>();
     sql         = new SQLActions();
 }
Ejemplo n.º 2
0
 public AddRepairWindow()
 {
     InitializeComponent();
     controller = new Controller();
     sql        = new SQLActions();
     client     = null;
     device     = null;
 }
 public EditRepairWindow(int idRepair)
 {
     InitializeComponent();
     controller    = new Controller();
     sql           = new SQLActions();
     client        = null;
     device        = null;
     repair        = new Repair();
     this.idRepair = idRepair;
 }
Ejemplo n.º 4
0
 public MainWindow()
 {
     InitializeComponent();
     // Icon icon = new Icon("SC.ico");
     //   this.Icon = icon;
     sql          = new SQLActions();
     idFindRepair = 0;
     SN           = "";
     order        = "";
     find         = "";
 }
Ejemplo n.º 5
0
 public EditModelWindow()
 {
     InitializeComponent();
     //controller = new Controller();
     sql = new SQLActions();
 }
 public AddCategoryWindow(Device device = null)
 {
     InitializeComponent();
     this.device = device;
     sql         = new SQLActions();
 }
Ejemplo n.º 7
0
        //   private Form form;

        public Controller()
        {
            sql    = new SQLActions();
            client = new Client();
        }