Beispiel #1
0
        private void openFileDrawButton_Click(object sender, EventArgs e)
        {
            OpenFileDialog open = new OpenFileDialog();

            open.Filter = "Image Files(*.draw;)| *.draw; ";
            if (open.ShowDialog() == DialogResult.OK)
            {
                Opener.OpenFileAsDraw(open.FileName, CurrentViewPort);
                tabMenu.SelectedTab.Text = Path.GetFileNameWithoutExtension(open.FileName);
            }
            statusBar.Items[0].Text = "Last action: Uploading project file as draw";
            CurrentViewPort.Refresh();
        }