예제 #1
0
파일: LoginUI.cs 프로젝트: louisZYC/SDP
 public LoginUI(FormContainer frmContainer)
 {
     InitializeComponent();
     this.frmContainer = frmContainer;
     this.MdiParent    = frmContainer;
     this.Dock         = DockStyle.Fill; //fit in container
 }
예제 #2
0
 public StaffUI(FormContainer frmContainer, Staff s)
 {
     InitializeComponent();
     this.MdiParent        = frmContainer;
     staff                 = new Staff();
     staff                 = s;
     this.Dock             = DockStyle.Fill;
     frmShowcaseRental     = new FormShowcaseRental();
     frmRentalRecord       = new FormRentalRecord(this);
     frmCSM                = new FormCustomerSalesManagement(this);
     frmShowcaseManagement = new FormShowcaseManagement();
     frmInventory          = new FormInventory();
     frmSalesrecord        = new FormSalesRecord();
 }