コード例 #1
0
ファイル: LoginForm.cs プロジェクト: resedmodel/ResedUI
 private void openFileBtn_Click(object sender, EventArgs e)
 {
     if (!FunctionlUtility.OpenProjectFile(this, Program.GetProjectFileFullPath()))
     {
         return;
     }
     this.DialogResult = DialogResult.OK;
     this.Close();
 }
コード例 #2
0
 private void openMnuItem_Click(object sender, EventArgs e)
 {
     FunctionlUtility.SaveProject(RiverSimulationProfile.profile);
     if (!FunctionlUtility.OpenProjectFile(this, Program.GetProjectFileFullPath()))
     {
         return;
     }
     UpdateStatus();
 }
コード例 #3
0
ファイル: LoginForm.cs プロジェクト: asion0/RiverSimulation
        private void openFileBtn_Click(object sender, EventArgs e)
        {
            if (!FunctionlUtility.OpenProjectFile(this, Program.GetProjectFileFullPath()))
            {
                return;
            }
            //this.DialogResult = DialogResult.OK;
            //this.Close();
            RiverSimulationForm form = new RiverSimulationForm();

            if (DialogResult.OK != form.ShowDialog())
            {
                //this.Close();
            }
        }