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

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