Пример #1
0
        private void FrmMainWindow_Load(object sender, EventArgs e)
        {
            if (Program.ThisModuleName == "" || Program.ModName_lcns == "")
            {
                MessageBox.Show("Please set module name in program.cs file.");
                this.Close();
            }

            this.Text = Program.ThisModuleName;

            FrmOpenCompany F = new FrmOpenCompany();

            F.ShowDialog();
        }
Пример #2
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmOpenCompany f = new FrmOpenCompany();

            f.ShowDialog();
        }