コード例 #1
0
 private void btnModify_AddVar_ItemClick(object sender, ItemClickEventArgs e)
 {
     //Checking if model is initialized
     if (MyGlobals.model.GetVars().Length >= 1)
     {
         Form frm = new FrmAddVar();
         frm.Show();
     }
     else
     {
         Form frm = new FrmNewModel();
         frm.Show();
     }
 }
コード例 #2
0
        //BUILD NEW MODEL
        private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = new FrmNewModel();

            frm.Show();
        }