コード例 #1
0
        private void mainForm_Load(object sender, EventArgs e)
        {
            FormMovement.Subscribe(menuPanel, this);
            spell = new List <int>();
            getMagick();

            this.FormClosing += new FormClosingEventHandler(MainForm_Closing);
        }
コード例 #2
0
ファイル: StatForm.cs プロジェクト: k-Knight/M2SP
 private void StatForm_Load(object sender, EventArgs e)
 {
     FormMovement.Subscribe(menuPanel, this);
     this.Location = location;
     this.Refresh();
     statBox.MouseWheel += new MouseEventHandler(statBox_MouseMove);
     this.FormClosing   += new FormClosingEventHandler(StatForm_Closing);
 }
コード例 #3
0
 private void MainForm_Closing(object sender, FormClosingEventArgs e)
 {
     FormMovement.Unsubscribe(this);
 }