-
Notifications
You must be signed in to change notification settings - Fork 18
/
FormKunupka.cs
40 lines (38 loc) · 952 Bytes
/
FormKunupka.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Created by SharpDevelop.
* User: Gheyret Kenji
* Date: 2020/11/27
* Time: 13:25
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Drawing;
using System.Windows.Forms;
namespace UyghurEditPP
{
/// <summary>
/// Description of FormKunupka.
/// </summary>
public partial class FormKunupka : Form
{
MainForm parForm;
public FormKunupka(MainForm fp)
{
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent();
parForm = fp;
//
// TODO: Add constructor code after the InitializeComponent() call.
//
}
void FormKunupkaLoad(object sender, EventArgs e)
{
int startx = parForm.Location.X + (parForm.Width-this.Width)/2;
int starty = parForm.Location.Y + (parForm.Height-this.Height)/2;
this.Location = new Point(startx,starty);
}
}
}