Esempio n. 1
0
 public EditClientForm(Client client = null)
 {
     InitializeComponent();
     this.client = client;
     clients     = new List <Client>();
     sql         = new SQLActions();
 }
 public AddRepairForm()
 {
     InitializeComponent();
     controller = new Controller();
     sql        = new SQLActions();
     client     = null;
     device     = null;
 }
 public EditRepairForm(int idRepair)
 {
     InitializeComponent();
     controller    = new Controller();
     sql           = new SQLActions();
     client        = null;
     device        = null;
     repair        = new Repair();
     this.idRepair = idRepair;
 }
        public Form1()
        {
            InitializeComponent();
            Icon icon = new Icon("SC.ico");

            this.Icon    = icon;
            sql          = new SQLActions();
            idFindRepair = 0;
            SN           = "";
            order        = "";
            find         = "";
        }
 public AddModelForm(Device device = null)
 {
     InitializeComponent();
     this.device = device;
     sql         = new SQLActions();
 }
Esempio n. 6
0
 public Controller()
 {
     sql    = new SQLActions();
     client = new Client();
 }