Esempio n. 1
0
 Point formPoint;                    //记录窗体的位置
 public Main()
 {
     InitializeComponent();
     navBarButtons = new Button[] { this.button_material, this.button_numerical_computation, this.button_OtherTools };
     navBarLists   = new Panel[] { this.material_listitems, this.numerical_listitems, this.otherTools_list };
     initNavBar();
     win_i = new instrument();
 }
Esempio n. 2
0
 public numerical_gpbwindows win_ng; //定义单击数值计算切换窗口
 public Main()
 {
     InitializeComponent();
     material_selection    = false;
     numercial_computation = false;
     material_selection    = navbar_material_change(material_selection, material_height);
     numercial_computation = navbar_numerical_change(numercial_computation, numerical_height);
     win_i  = new instrument();
     win_ng = new numerical_gpbwindows();
 }