コード例 #1
0
 /// <summary>
 /// Sets visual styles and form size and adds all controls.
 /// </summary>
 public MainForm()
 {
     Main  = this;
     Lmode = "JPN";
     InitializeComponent();
     this.DoubleBuffered = true;
     SetStyle(ControlStyles.AllPaintingInWmPaint |
              ControlStyles.OptimizedDoubleBuffer |
              ControlStyles.UserPaint, true);
     UpdateStyles();
     discEditItem.Click += new EventHandler(discEditItem_Click);
     mv = new mainView(this);
     menuTitleItem_Click(null, null);
     this.WindowState = FormWindowState.Normal;
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: jollywho/LFI
 /// <summary>
 /// Sets visual styles and form size and adds all controls.
 /// </summary>
 public MainForm()
 {
     Main = this;
     Lmode = "JPN";
     InitializeComponent();
     this.DoubleBuffered = true;
     SetStyle(ControlStyles.AllPaintingInWmPaint |
                   ControlStyles.OptimizedDoubleBuffer |
                   ControlStyles.UserPaint, true);
     UpdateStyles();
     discEditItem.Click += new EventHandler(discEditItem_Click);
     mv = new mainView(this);
     menuTitleItem_Click(null, null);
     this.WindowState = FormWindowState.Normal;
 }