Beispiel #1
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            if (RecorderSetupForm == null || RecorderSetupForm.IsDisposed)
            {
                RecorderSetupForm = new RecorderSetup(this);
            }

            RecorderSetupForm.Show();
        }
Beispiel #2
0
 public Recorder(CWExpert form)
 {
     try
     {
         this.AutoScaleMode = AutoScaleMode.Inherit;
         InitializeComponent();
         float  dpi                   = this.CreateGraphics().DpiX;
         float  ratio                 = dpi / 96.0f;
         string font_name             = this.Font.Name;
         float  size                  = 8.25f / ratio;
         System.Drawing.Font new_font = new System.Drawing.Font(font_name, size);
         this.Font = new_font;
         MainForm  = form;
         GetOptions();
         SetWindowPos(this.Handle.ToInt32(), -1, this.Left, this.Top,
                      this.Width, this.Height, 0); // on top others
         RecorderSetupForm = new RecorderSetup(this);
     }
     catch (Exception ex)
     {
         Debug.Write(ex.ToString());
     }
 }
Beispiel #3
0
 public Recorder(CWExpert form)
 {
     try
     {
         this.AutoScaleMode = AutoScaleMode.Inherit;
         InitializeComponent();
         float dpi = this.CreateGraphics().DpiX;
         float ratio = dpi / 96.0f;
         string font_name = this.Font.Name;
         float size = 8.25f / ratio;
         System.Drawing.Font new_font = new System.Drawing.Font(font_name, size);
         this.Font = new_font;
         MainForm = form;
         GetOptions();
         SetWindowPos(this.Handle.ToInt32(), -1, this.Left, this.Top,
                 this.Width, this.Height, 0);  // on top others
         RecorderSetupForm = new RecorderSetup(this);
     }
     catch (Exception ex)
     {
         Debug.Write(ex.ToString());
     }
 }
Beispiel #4
0
        private void btnSettings_Click(object sender, EventArgs e)
        {
            if (RecorderSetupForm == null || RecorderSetupForm.IsDisposed)
                RecorderSetupForm = new RecorderSetup(this);

            RecorderSetupForm.Show();
        }