コード例 #1
0
ファイル: FRMMain.cs プロジェクト: ruxchuk/A-Team_Clem
        private void FRMMain_Load(object sender, EventArgs e)
        {
            addCustomerClem = new UCAddCustomerClem(this)
            {
                Dock = DockStyle.Fill
            };
            customerReport = new UCReportCustomerClem(this)
            {
                Dock = DockStyle.Fill
            };
            addEmployeeClem = new UCAddEmployeeClem(this)
            {
                Dock = DockStyle.Fill
            };
            employeeReport = new UCReportEmployeeClem(this)
            {
                Dock = DockStyle.Fill
            };
            addProduct = new UCAddProduct(this)
            {
                Dock = DockStyle.Fill
            };
            addCompany = new UCAddCompany(this)
            {
                Dock = DockStyle.Fill
            };
            addEmployee = new UCAddEmployee(this)
            {
                Dock = DockStyle.Fill
            };
            addCustomer = new UCAddCustomer(this)
            {
                Dock = DockStyle.Fill
            };
            addProductType = new UCAddProductType(this)
            {
                Dock = DockStyle.Fill
            };

            pageListCompany = new UCListCompany(this)
            {
                Dock = DockStyle.Fill
            };



            panelShowUserControl.Appearance.BackColor            = Color.Aqua;
            panelShowUserControl.Appearance.BackColor2           = Color.Aqua;
            panelShowUserControl.Appearance.Options.UseBackColor = true;
            closeWaitingForm();
            showAddCustomerClem();

            //panelShowUserControl.LookAndFeel.UseDefaultLookAndFeel = false;
            //panelShowUserControl.LookAndFeel.Style = LookAndFeelStyle.Flat;
        }
コード例 #2
0
ファイル: FRMMain.cs プロジェクト: ruxchuk/A-Team_Clem
        private void FRMMain_Load(object sender, EventArgs e)
        {
            addCustomerClem = new UCAddCustomerClem(this) { Dock = DockStyle.Fill };
            customerReport = new UCReportCustomerClem(this) { Dock = DockStyle.Fill };
            addEmployeeClem = new UCAddEmployeeClem(this) { Dock = DockStyle.Fill };
            employeeReport = new UCReportEmployeeClem(this) { Dock = DockStyle.Fill };
            addProduct = new UCAddProduct(this) { Dock = DockStyle.Fill };
            addCompany = new UCAddCompany(this) { Dock = DockStyle.Fill };
            addEmployee = new UCAddEmployee(this) { Dock = DockStyle.Fill };
            addCustomer = new UCAddCustomer(this) { Dock = DockStyle.Fill };
            addProductType = new UCAddProductType(this) { Dock = DockStyle.Fill };

            pageListCompany = new UCListCompany(this) { Dock = DockStyle.Fill };

            panelShowUserControl.Appearance.BackColor = Color.Aqua;
            panelShowUserControl.Appearance.BackColor2 = Color.Aqua;
            panelShowUserControl.Appearance.Options.UseBackColor = true;
            closeWaitingForm();
            showAddCustomerClem();

            //panelShowUserControl.LookAndFeel.UseDefaultLookAndFeel = false;
            //panelShowUserControl.LookAndFeel.Style = LookAndFeelStyle.Flat;
        }