コード例 #1
0
        private void supplierButton_Click(object sender, EventArgs e)
        {
            activePanel.Height = supplierButton.Height;
            activePanel.Top    = supplierButton.Top;

            SupplierUiController supplierUiController = new SupplierUiController();

            mainPanel.Controls.Clear();
            supplierUiController.Dock = DockStyle.Fill;
            supplierUiController.BringToFront();
            supplierUiController.Focus();
            mainPanel.Controls.Add(supplierUiController);
        }
コード例 #2
0
 public AddSupplier(SupplierUiController supplierUiController2)
 {
     supplierUiController = supplierUiController2;
     InitializeComponent();
     GenerateSupplierCode();
 }