예제 #1
0
 private void CoverSheetlistBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (CoverSheetlistBox.SelectedIndex != -1)
     {
         string filepath = MyPlugin.GetRoot() + @"Blocks\Cover Sheet Logos\" + SelectedBorderSize + @"\" + CoverSheetlistBox.SelectedItem;
         GeneralMenu.AcadIconPreview(filepath, CoverSheetPictureBox);
     }
     else
     {
         CoverSheetPictureBox.Image = null;
         CoverSheetPictureBox.Invalidate();
     }
 }
예제 #2
0
 private void LogoListBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     if ((string)LogoListBox.SelectedItem != "No Logo")
     {
         string filepath = MyPlugin.GetRoot() + @"Blocks\Logos\" + SelectedBorderSize + @"\" + LogoListBox.SelectedItem;
         GeneralMenu.AcadIconPreview(filepath, LogoPictureBox);
     }
     else
     {
         LogoPictureBox.Image = null;
         LogoPictureBox.Invalidate();
     }
 }
예제 #3
0
        private void LogoListBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            string filepath = MyPlugin.GetRoot() + @"Blocks\Logos\" + SelectedBorderSize + @"\" + LogoListBox.SelectedItem;

            GeneralMenu.AcadIconPreview(filepath, LogoPictureBox);
        }