Example #1
0
        private void  черновикToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            DraftForm draftForm = new DraftForm();



            int LocantionPointFromX = this.DesktopLocation.X;
            int LocantionPointFromY = this.DesktopLocation.Y;

            draftForm.Location = new Point(LocantionPointFromX, LocantionPointFromY);

            int SizeFormHeight = this.Size.Height;
            int SizeFormWidth  = this.Size.Width;

            draftForm.Size = new Size(SizeFormWidth, SizeFormHeight);

            draftForm.Show();


            LoadingForm LoadingForm = new LoadingForm(this);

            LoadingForm.Hide();
        }
Example #2
0
 public CreateDrafts(DraftForm df)
 {
     _dr_f = df;
     InitializeComponent();
 }