コード例 #1
0
ファイル: UCSupplier.cs プロジェクト: 16101163/SP-Repo
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            UCViewOrders ViewOrders = new UCViewOrders();

            panel4.Controls.Add(ViewOrders);
            ViewOrders.BringToFront();
            ViewOrders.Dock = DockStyle.Fill;
        }
コード例 #2
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            UCViewOrders     v  = new UCViewOrders();
            UCViewOrderItems vi = new UCViewOrderItems();

            v.splitContainer1.Controls.Add(vi);
            vi.BringToFront();
            vi.Dock = DockStyle.Fill;
        }
コード例 #3
0
        private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            UCViewOrders     v  = new UCViewOrders();
            UCViewOrderItems vi = new UCViewOrderItems();

            v.Controls.Add(vi);
            vi.BringToFront();
            vi.Dock = DockStyle.Fill;
        }
コード例 #4
0
        private void supplierOrderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UCSupplier SupplierOrder = new UCSupplier();

            this.panel3.Controls.Add(SupplierOrder);
            SupplierOrder.BringToFront();
            SupplierOrder.Dock = DockStyle.Fill;

            UCViewOrders ViewOrder = new UCViewOrders();

            SupplierOrder.panel4.Controls.Add(ViewOrder);
            ViewOrder.BringToFront();
            ViewOrder.Dock = DockStyle.Fill;
        }