示例#1
0
 public LargeFileForm(long bytes, string file)
 {
     InitializeComponent();
     //bytes to megabytes
     mbytes      = (bytes / 1024) / 1024;
     label1.Text = "The file '" + file + "' is large. \nSize of " + mbytes + " mb's. \n" +
                   "Note: some features will be disabled from the editor!\n";
     openExecute = 0;
 }
示例#2
0
 private void buttonExecute_Click(object sender, EventArgs e)
 {
     openExecute = OpenExecute.EXECUTE;
     Close();
 }
示例#3
0
 private void buttonOpen_Click(object sender, EventArgs e)
 {
     openExecute = OpenExecute.OPEN;
     Close();
 }