Beispiel #1
0
        private void UIEditorMainForm_Load(object sender, EventArgs e)
        {
            int[] size = UIEdit.loadChatUISize();
            this.Width  = size[0];
            this.Height = size[1];

            int h, w;

            //ディスプレイの作業領域の高さ
            h = System.Windows.Forms.Screen.GetWorkingArea(this).Height;
            //ディスプレイの作業領域の幅
            w = System.Windows.Forms.Screen.GetWorkingArea(this).Width;

            this.DesktopLocation = new Point(0, h - this.Height);
        }
Beispiel #2
0
 private void UIEditorMainForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     //this.Width;
     //this.Height;
     UIEdit.generateChatUI(this.Width, this.Height);
 }