예제 #1
0
        public FrmDevicePresenter(IFrmDevice FrmDeviceView)
        {
            frmDevice = FrmDeviceView;

            deviceModel         = new DeviceModel();
            deviceModel.id      = 8;
            deviceModel.initial = "-";
            messageService      = new MessageService();
            DBConnService       = new DBConnectionService(Properties.Settings.Default.ConnectionString);
        }
예제 #2
0
 public void formClosing(IFrmDevice frmDevice)
 {
     frmDevice.ShowSelf();
     frmKonfigurasi.HideSelf();
 }
예제 #3
0
 public FrmKonfigurasi(IFrmDevice frmDeviceView)
 {
     frmDevice = frmDeviceView;
     InitializeComponent();
     this.Visible = false;
 }