Пример #1
0
        private void pengirimanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Fpen.Visible)
            {
                return;
            }

            Fpen           = new FormPengiriman();
            Fpen.MdiParent = this;
            Fpen.Show();
        }
Пример #2
0
        public Main()
        {
            InitializeComponent();

            FormBorderStyle = FormBorderStyle.FixedDialog;
            WindowState     = FormWindowState.Maximized;
            MaximizeBox     = false;
            MinimizeBox     = false;
            StartPosition   = FormStartPosition.CenterScreen;

            Fpel           = new FormPelanggan();
            Fpel.MdiParent = this;

            Fpen           = new FormPengiriman();
            Fpen.MdiParent = this;

            Fbar           = new FormBarang();
            Fbar.MdiParent = this;

            Fkur           = new FormKurir();
            Fkur.MdiParent = this;
        }