Beispiel #1
0
 private void regionMenu_Click(object sender, EventArgs e)
 {
     if (!LoadSave.threadRunning)
     {
         LoadSave.selectRegion(false);
     }
 }
Beispiel #2
0
 private void exportMenu_Click(object sender, EventArgs e)
 {
     if (!LoadSave.threadRunning)
     {
         LoadSave.save();
     }
 }
Beispiel #3
0
 private void frmMain_Closing(object sender, FormClosingEventArgs e)
 {
     if (LoadSave.threadRunning)
     {
         LoadSave.killThread();
     }
 }
Beispiel #4
0
        private void openMenu_Click(object sender, EventArgs e)
        {
            if (LoadSave.threadRunning)
            {
                LoadSave.killThread();
            }

            LoadSave.openFile(tools, this, height, mnuLoad, mnuStatus);
        }
Beispiel #5
0
        private void height_ValueChanged(object sender, EventArgs e)
        {
            if (LoadSave.Init &&
                !LoadSave.threadRunning &&
                height.SelectedIndex != prevVal)
            {
                prevVal = height.SelectedIndex;

                Undo.clear();

                LoadSave.changeLayer(false);
            }

            else if (height.SelectedIndex != prevVal)
            {
                height.SelectedIndex = prevVal;
            }
        }
Beispiel #6
0
 public void updateImage()
 {
     LoadSave.startThread(RunThread.Update);
 }