Exemple #1
0
        private void pelangganToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Fpel.Visible)
            {
                return;
            }

            Fpel           = new FormPelanggan();
            Fpel.MdiParent = this;
            Fpel.Show();
        }
Exemple #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;
        }