Пример #1
0
 public void loadsln()
 {
     for (int i = 0; i < read.Count; i++)
     {
         if (Path.GetFileName(read[i]).Equals(listboxSln.GetItemText(listboxSln.SelectedItem)))
         {
             edits.edit _edit = new edits.edit(read[i]);
             TempData.UIData._frmMain.MaximumSize = new Size(0, 0);
             TempData.UIData._frmMain.MaximizeBox = true;
             TempData.UIData._frmMain.MinimizeBox = true;
             PageManager.SetPage(TempData.UIData._frmMain._myPanel, _edit);
         }
     }
 }
Пример #2
0
 public static void Init()
 {
     _frmMain = _frmMain_set as frmMain;
     _edit    = _edit_set as UI.edits.edit;
 }