Beispiel #1
0
        public void LoadStream(Stream stream)
        {
            m_LoadingFile = true;

            AsciiPaintCanvas.DontRepaint = true;
            try
            {
                AsciiPaintCanvas.LoadStream(stream);
                numColumns.Value = AsciiPaintCanvas.Columns;
                numRows.Value    = AsciiPaintCanvas.Rows;
                m_LoadingFile    = false;
            }
            finally
            {
                AsciiPaintCanvas.DontRepaint = false;
                AsciiPaintCanvas.CompleteRepaint();
            }
        }
Beispiel #2
0
 public void RepaintCanvas()
 {
     AsciiPaintCanvas.CompleteRepaint();
 }
Beispiel #3
0
 void form_SettingsSaved(object sender, OptionsForm.SettingsSavedEventArgs e)
 {
     AsciiPaintCanvas.CompleteRepaint();
 }