Example #1
0
 public ReqForm()
 {
     this.parent = null;
     InitializeComponent();
 }
Example #2
0
 public ReqForm(ScreenShotForm parent)
 {
     InitializeComponent();
     this.parent = parent;
     this.TopMost = true;
 }
Example #3
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     this.Left = Screen.PrimaryScreen.Bounds.Width - this.Width - 10;
     this.Top = 150;
     this.dragAndDropBox1.onFileDrop += (file, shiftDown) =>
     {
         if (shiftDown)
         {
             //源码检查
             ClassifyForm.saveFile(file, "", "YM");
         }
         else
         {
             //不需要传递ringsID?
             ClassifyForm classifyForm = new ClassifyForm(file, "");
             classifyForm.Show();
         }
     };
     ScreenShotForm screenShotForm = new ScreenShotForm();
     //floatForm = new FloatForm();
     //floatForm.Show();
     //this.showFloatForm = true;
     this.syncTimer.Interval = 1000;
     this.syncTimer.Start();
 }