コード例 #1
0
ファイル: FrmCompanies.cs プロジェクト: omerozkan1/Veresiye
 public FrmCompanies(ICompanyService companyService, FrmCompanyAdd frmCompanyAdd)
 {
     this.companyService = companyService;
     this.frmCompanyAdd  = frmCompanyAdd;
     InitializeComponent();
     this.frmCompanyAdd.MdiParent = this.MdiParent;
 }
コード例 #2
0
 public FrmCompanies(ICompanyService companyService, FrmCompanyAdd frmCompanyAdd, FrmCompanyEdit frmCompanyEdit)
 {
     this.companyService = companyService;
     this.frmCompanyAdd  = frmCompanyAdd;
     this.frmCompanyEdit = frmCompanyEdit;
     InitializeComponent();
     this.frmCompanyAdd.MdiParent   = this.MdiParent;
     this.frmCompanyEdit.MdiParent  = this.MdiParent;
     this.frmCompanyAdd.MasterForm  = this;
     this.frmCompanyEdit.MasterForm = this;
 }
コード例 #3
0
ファイル: FrmCompanies.cs プロジェクト: koseirem1/Veresiye
 public FrmCompanies(ICompanyService companyService, FrmCompanyAdd frmCompanyAdd, FrmCompanyUpdate frmCompanyUpdate)
 {
     this.companyService   = companyService;
     this.frmCompanyAdd    = frmCompanyAdd;
     this.frmCompanyUpdate = frmCompanyUpdate;
     InitializeComponent();
     this.frmCompanyAdd.MdiParent     = this.MdiParent;
     this.frmCompanyAdd.MasterForm    = this;
     this.frmCompanyUpdate.MdiParent  = this.MdiParent;
     this.frmCompanyUpdate.MasterForm = this;
 }
コード例 #4
0
ファイル: FrmMain.cs プロジェクト: ozturkdogucan/Veresiye
 public FrmMain(IUserService userService, FrmRegister frmRegister, FrmCompanies frmCompanies, FrmLogin frmLogin, FrmCompanyAdd frmCompanyAdd, FrmCompanyEdit frmCompanyEdit)
 {
     this.userService    = userService;
     this.frmCompanies   = frmCompanies;
     this.frmRegister    = frmRegister;
     this.frmLogin       = frmLogin;
     this.frmCompanyAdd  = frmCompanyAdd;
     this.frmCompanyEdit = frmCompanyEdit;
     InitializeComponent();
     this.frmRegister.MdiParent   = this;
     this.frmRegister.FormClosed += FrmRegister_FormClosed;
     this.frmCompanies.MdiParent  = this;
     this.frmLogin.MdiParent      = this;
     this.frmLogin.MasterForm     = this;
 }
コード例 #5
0
        public FrmMain(IUserService userService, FrmRegister frmRegister, FrmCompanies frmCompanies,
                       FrmLogin frmLogin, FrmCompanyAdd frmCompanyAdd, FrmCompanyUpdate frmCompanyUpdate)
        {
            this.userService      = userService;
            this.frmRegister      = frmRegister;
            this.frmCompanies     = frmCompanies;
            this.frmLogin         = frmLogin;
            this.frmCompanyAdd    = frmCompanyAdd;
            this.frmCompanyUpdate = frmCompanyUpdate;
            InitializeComponent();
            this.frmRegister.MdiParent   = this;
            this.frmRegister.FormClosed += FrmRegister_FormClosed;
            this.frmLogin.MdiParent      = this; //formun içinde gelmesini sağlıyor
            this.frmLogin.MasterForm     = this;
            this.frmCompanies.MdiParent  = this;
            this.frmCompanyAdd.MdiParent = this;


            this.frmCompanyUpdate.MdiParent = this;
        }